<!--读私信链接-->
<script setup>
import {useStore} from "vuex";
import NgaRouterLink from "@/components/common/link/NgaRouterLink.vue";
import {routeNames} from "@/router";

const props = defineProps({
  messageId: {type: Number, required: true},
  bracket: Boolean,
  modelValue: {type: String | Number},
})
const emit = defineEmits(['update:modelValue'])
const store = useStore();

</script>

<template>
  <span>
    <nga-router-link :bracket="bracket" :route="{name:routeNames.message.read,params:{id:messageId}}">
      <slot></slot>
    </nga-router-link>
  </span>
</template>

<style scoped>

</style>